//
//  YDOANoticeDetialVC.swift
//  YDOAProduct
//
//  Created by YDWY on 2017/5/27.
//  Copyright © 2017年 Allen. All rights reserved.
//

import UIKit
//import WebKit


class YDOANoticeDetialVC: UIViewController {
    
//    var mywebview : UIWebView?
    var model : YDOAAnnouncementModel? = nil
    @IBOutlet weak var titleLb: UILabel!
    
    @IBOutlet weak var contentView: UITextView!
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        titleLb.text = model?.title
        contentView.text = model?.content
       // self.navigationController?.navigationBar.isHidden = false
        
//        mywebview = UIWebView(frame: view.bounds)
//        
//        mywebview?.loadRequest(URLRequest(url:URL(string: "http://219.233.18.245:10209/web/mobile.html?authorization=Basic%20YWRtaW46YWRtaW4=")!))
        
    }
    override func viewDidLoad() {
        super.viewDidLoad()
        self.title = "公告详情"
       // self.navigationController?.navigationBar.isHidden = false
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
